package com.intellagric.mapper;

import com.intellagric.pojo.TracePersonType;
import com.intellagric.pojo.TracePersonTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TracePersonTypeMapper {
    long countByExample(TracePersonTypeExample example);

    int deleteByExample(TracePersonTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(TracePersonType record);

    int insertSelective(TracePersonType record);

    List<TracePersonType> selectByExample(TracePersonTypeExample example);

    TracePersonType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TracePersonType record, @Param("example") TracePersonTypeExample example);

    int updateByExample(@Param("record") TracePersonType record, @Param("example") TracePersonTypeExample example);

    int updateByPrimaryKeySelective(TracePersonType record);

    int updateByPrimaryKey(TracePersonType record);
}